Repository navigation
fix(release): 修掉 issuer secret 名 + 加工作流凭据守卫 - #362
Merged
Merged
Conversation
The new signing step bound ASC_API_ISSUER_ID to secrets.APPLE_ASC_API_ISSUER_ID, which does not exist, so ci-sign.sh aborted with 缺少 CI 配置 and the v1.4.2 release stopped before the installer was signed. Add a static guard: every workflow step that runs ci-sign.sh must bind the seven credentials to their exact secret/variable names, so a typo in the *value* (not just the key) fails offline instead of at release time. Signed-off-by: wangzhizhou <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
上一个 commit 在签名步骤把
ASC_API_ISSUER_ID绑到了不存在的secrets.APPLE_ASC_API_ISSUER_ID,ci-sign.sh直接以「缺少 CI 配置」退出,v1.4.2 的 release 卡在签名前(未产生 Release)。secrets.APPLE_ASC_ISSUER_ID;test-ci-sign.py新增静态守卫:每个真正执行ci-sign.sh的步骤,7 个凭据必须绑到确切的 secret/vars 名(只查键名存在拦不住这种错)。守卫已用变异测试验证会红。